package com.ruoyi.service.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 病区对象 service_ward
 * 
 * @author ZDL
 * @date 2024-11-12
 */
public class ServiceWard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 病区表主键ID */
    private Long wardId;

    /** 病区代码 */
    @Excel(name = "病区代码")
    private String wardCode;

    /** 病区 */
    @Excel(name = "病区")
    private String wardName;

    /** 启用标志（0代表启用 2代表不启用） */
    @Excel(name = "启用标志", readConverterExp = "0=代表启用,2=代表不启用")
    private String wardUseFlag;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String wardDelFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String wardRemark;

    public void setWardId(Long wardId) 
    {
        this.wardId = wardId;
    }

    public Long getWardId() 
    {
        return wardId;
    }
    public void setWardCode(String wardCode) 
    {
        this.wardCode = wardCode;
    }

    public String getWardCode() 
    {
        return wardCode;
    }
    public void setWardName(String wardName) 
    {
        this.wardName = wardName;
    }

    public String getWardName() 
    {
        return wardName;
    }
    public void setWardUseFlag(String wardUseFlag) 
    {
        this.wardUseFlag = wardUseFlag;
    }

    public String getWardUseFlag() 
    {
        return wardUseFlag;
    }
    public void setWardDelFlag(String wardDelFlag) 
    {
        this.wardDelFlag = wardDelFlag;
    }

    public String getWardDelFlag() 
    {
        return wardDelFlag;
    }
    public void setWardRemark(String wardRemark) 
    {
        this.wardRemark = wardRemark;
    }

    public String getWardRemark() 
    {
        return wardRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wardId", getWardId())
            .append("wardCode", getWardCode())
            .append("wardName", getWardName())
            .append("wardUseFlag", getWardUseFlag())
            .append("wardDelFlag", getWardDelFlag())
            .append("wardRemark", getWardRemark())
            .toString();
    }
}
